import Vue from 'vue'
import App from './App'


export const eventBus = new Vue(); // 创建事件总线
Vue.prototype.$eventBus = eventBus; // 挂载到 Vue 原型

// 此处为引用自定义顶部
import cuCustom from './colorui/components/cu-custom.vue'
Vue.component('cu-custom',cuCustom);
import TnCustom from './components/TnCustom/TnCustom.vue'
Vue.component('tn-custom', TnCustom)

import request22 from './common/request.js'//将export default 赋给临时对象变量member
Vue.prototype.$request22=request22 //将member赋给$sysData,$只是标记全局变量，区分其他变量，可以不用$


// 引入:uView-UI
import uView from 'uview-ui';
Vue.use(uView);



Vue.config.productionTip = false

// 注册并使用动态表单获取值和校验
import verification from '@/components/active-form/js/verification'
Vue.use(verification)

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
